package com.zzj.bean;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**花的信息表
 * <p>
 * InnoDB free: 8192 kB
 * </p>
 *
 * @author 花
 * @since 2022-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "tab_flower",resultMap = "flowerMap")
public class TabFlower implements Serializable {

    private static final long serialVersionUID = 1L;
//花的id  主键 雪花算法
    @TableId
    private String fid;
    //花的名字
    private String fname;
    // 花的种类
    private String kid;
    //售价
    private Double price;

    //花的产地
    private String fplace;
    //一个花的商品对应一个花的种类
    @TableField(exist = false)
    private TabKind tabKind;

}
